<?php $this->load->library("urlutility");?>
<style>
#prev {
	margin-top:-313px;
}
#next {
	margin-top:-313px;
}
</style>
<script type="text/javascript" language="javascript">
	$(function() {
		$('#prev').addClass('hide');
		$('#next').addClass('hide');
		$('#foo0').carouFredSel({
			auto:{pauseOnHover: 'resume'},
			scroll:1,
			prev: '#prev',
			next: '#next',
		});
		$('.list_carousel').mouseover(function(){
			$('#prev').removeClass('hide');
			$('#next').removeClass('hide');						  
		});
		$('.list_carousel').mouseout(function(){
			$('#prev').addClass('hide');
			$('#next').addClass('hide');						  
		});
	});
</script>
<?php if(count($listbanner)>0){?>
<div class="list_carousel ov_fl_hidden h277">
  <ul id="foo0" class="h277">
    <?php foreach($listbanner as $banner){
		if(count($banner)>0){?>
    <li> <a href="<?php echo $this->urlutility->getguild_detail($banner['guildid']);?>" class="item ov_fl_hidden"> <img width="886" height="370" class="fl bder_t1_8fa8bc" src="<?php echo base_url()."uploads/guildbanner/".$banner['avatar']; ?>"/> </a> </li>
    <?php }}?>
  </ul>
  <a href="javascript:void(0);" id="prev" class="fl"><img src="<?php echo base_url(); ?>public/images/btn_prev.gif"/></a> <a href="javascript:void(0);" id="next" class="fr"><img src="<?php echo base_url(); ?>public/images/btn_next.gif"/></a> </div>
<?php }?>
<div class="fl w660">
  <h1 class="orange item ff_museo700 mgb0 txt_indent20">Guild Search Result</h1>
  <div class="item bder_d5 pdt5 pdb5 italic txt_center">"Are you looking for a reliable tour guide service? You wish for the useful assistance that makes your journey really enjoyable. Then try the professional tour guide service offered by our Best of Myanmar." </div>
  <div class="item" style="overflow:hidden;">
    <div class="item pst_relative zindex10" id="boxoutsize">
      <div class="fl w660" id="box_inside1">
        <?php 
		 foreach($data as $list){?>
        <div class="item bder_b1_d5 pdt12 pdb10">
          <h1 class="blue ff_museo700 f16 mgt0 pdl10 lheight21 cap"><?php echo $list["name"]; ?> <em class="ff_museo500 gray lighter cap f13"><?php echo "<br/>".$list["provide"]; ?></em></h1>
          <a href="<?php echo $this->urlutility->getguild_detail($list['id']);?>"><img width="97" height="75" src="<?php echo base_url()."uploads/guild/".$list["avatar"]; ?>" alt="<?php echo "Best of Myanmar - ".$list["name"]; ?>" title="<?php echo "Best of Myanmar - ".$list["name"]; ?>" class="fl mgr8 pdl10"/></a>
          <div class="fl w273 pdr20"> <strong class="black"><?php echo $list["language"] ?></strong><br />
            <span class="black"><?php echo $list["description"]; ?>
            </span> </div>
          <div class="fr w80 f10 txt_center ff_museo700"><strong class="f18 orange"> $
            <?php if(isset($list["priceofhalfday"])==NULL)echo 'N/A';else echo $list["priceofhalfday"]; ?>
            </strong>1/2 day<br />
            <strong class="f18 orange"> $
            <?php if(isset($list["priceofday"])==NULL) echo "N/A"; else echo $list["priceofday"]; ?>
            </strong>&nbsp;&nbsp;&nbsp;1 day <a class="fl ff_museo500 bgr_143167 white pdl10 pdr10 pdt4 pdb4 f13 mgl10 mgt4 cursor_poiter" href="<?php echo $this->urlutility->getguild_detail($list['id']);?>">DETAILS</a> </div>
        </div>
        <?php }?>
      </div>
    </div>
  </div>
  <div class="item pdt16 pdb16">
    <div class="fr"> <img width="10" height="15" class="fl bder_d5 fl pdt4 pdb4 pdl7 pdr9 mgl5 cursor_poiter" onclick="LeftClick3('spnumberpage','sptotalpage','boxoutsize');" src="<?php echo base_url(); ?>public/images/arrow_01.jpg">
      <?php for($i=1;$i<=ceil(count($total)/10);$i++){?>
      <div id="divpager<?php echo $i ?>" class="bder_d5 fl pdt4 pdb4 txt_center w24 mgl5 black cursor_poiter" onclick="loaddata('<?php echo $i ?>','boxoutsize',postdata,'spnumberpage','sptotalpage','getajax_guild_search_result',listroomhotel);"><?php echo $i ?></div>
      <?php
	}?>
      <img width="10" height="15" class="fl bder_d5 fl pdt4 pdb4 pdl9 pdr7 mgl5 cursor_poiter" src="<?php echo base_url(); ?>public/images/arrow_03.png" onclick="RightClick3('spnumberpage','sptotalpage','boxoutsize','getajax_hotel_search_result',listroomhotel,'<?php echo $_GET['provide'] ?>','<?php echo $_GET['language'] ?>');"> </div>
    <script>var postdata={destination:'<?php echo $_GET["provide"] ?>',language:'<?php echo $_GET["language"] ?>'};</script>
  </div>
</div>
<div class="fr w193 pdt10"> <img width="100%" class="fl mgt5" src="<?php echo base_url(); ?>public/images/rightbanner_03.png"> <img width="100%" class="fl mgt5" src="<?php echo base_url(); ?>public/images/rightbanner_03.png"> </div>
<script>
	var listroomhotel=Array();
	
	for(var i=1;i<=1000;i++){		
		listroomhotel[i]=false;		
	}
	listroomhotel[1]=true;	
</script>
